package com.lxh.visitor;

/**
 * Create by lxh on 2020/2/16
 */
public class Happy extends Action {
    @Override
    public void getManThink(Man man) {
        System.out.println("高兴时男人说的话");
    }

    @Override
    public void getWomanThink(Woman woman) {
        System.out.println("高兴时女人说的话");
    }
}
